var bootPATH = __CreateJSPath("easyui.js");
var rootPATH = bootPATH.replace(/public(.*)?/g, 'public/static/');

//加载JS文件
document.write('<script src="' + rootPATH + 'jquery.min.js" type="text/javascript"></sc' + 'ript>');
document.write('<script src="' + rootPATH + 'easyui/jquery.easyui.min.js" type="text/javascript" ></sc' + 'ript>');
document.write('<script src="' + rootPATH + 'easyui/locale/easyui-lang-zh_CN.js" type="text/javascript" ></sc' + 'ript>');
document.write('<script src="' + rootPATH + 'easyui/easyui.plugins.js" type="text/javascript" ></sc' + 'ript>');
document.write('<script src="' + rootPATH + 'easyui/easyui.common.js" type="text/javascript" ></sc' + 'ript>');
document.write('<script src="' + rootPATH + 'common.js" type="text/javascript" ></sc' + 'ript>');
document.write('<script src="' + rootPATH + 'json2.js" type="text/javascript" ></sc' + 'ript>');
document.write('<script src="' + bootPATH + 'common.js" type="text/javascript" ></sc' + 'ript>');

//加载CSS样式
document.write('<link href="' + rootPATH + 'easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />');
document.write('<link href="' + rootPATH + 'easyui/themes/icon.css" rel="stylesheet" type="text/css" />');
//加载主题
var themes = null;
if(themes != null){
    document.write('<link href="' + rootPATH + 'easyui/themes/' + themes + '/easyui.css" rel="stylesheet" type="text/css" />');
}
document.write('<link href="' + bootPATH + '../css/cpanel.css" rel="stylesheet" type="text/css" />');
